package hlhj.fhp.tvlib.javabean;

import java.util.List;

/**
 * Created by Never Fear   on 2018\11\19 0019.
 * Never More....
 */

public class CatBean {

    /**
     * code : 1
     * msg : 获取成功
     * data : [{"id":2,"name":"直播","is_show":1,"sort":3,"create_time":1542262757},{"id":1,"name":"电视","is_show":1,"sort":2,"create_time":1542262591}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2
         * name : 直播
         * is_show : 1
         * sort : 3
         * create_time : 1542262757
         */

        private int id;
        private String name;
        private int is_show;
        private int sort;
        private int create_time;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getIs_show() {
            return is_show;
        }

        public void setIs_show(int is_show) {
            this.is_show = is_show;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getCreate_time() {
            return create_time;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }
    }
}
